---
title: "NodeJS笔记"
date: 2017
categories:
- node
tags:
- nohup
---

<div id="content">
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org7e70549">FAQ</a>
<ul>
<li><a href="#org2810ed4">nodemon cannot run in background with nohup   <span class="tag"><span class="nodemon">nodemon</span> <span class="nohup">nohup</span></span></a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="outline-2" id="outline-container-org7e70549">
<h2 id="org7e70549">FAQ</h2>
<div class="outline-text-2" id="text-org7e70549">
</div>
<div class="outline-3" id="outline-container-org2810ed4">
<h3 id="org2810ed4">nodemon cannot run in background with nohup   <span class="tag"><span class="nodemon">nodemon</span> <span class="nohup">nohup</span></span></h3>
<div class="outline-text-3" id="text-org2810ed4">
<blockquote>
<p>
<a href="https://github.com/remy/nodemon/issues/296">https://github.com/remy/nodemon/issues/296</a>
</p>
</blockquote>
<p>
命令nohup nodemon app.js &amp;网站没有后台运行。改成
</p>
<div class="org-src-container">
<pre class="src src-sh">nohup nodemon app.js &lt;/dev/null &amp;
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="status" id="postamble">
<p class="date">Date: 2017</p>
<p class="author">Author: gdme1320</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
